package com.umfwechat.util.email;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by Administrator on 2017/5/17.
 */
public class MailSendLoop {
    private static ExecutorService fixedThreadPool = Executors.newFixedThreadPool(3);

    public static void sendEmail(Runnable runnable){
        fixedThreadPool.execute(runnable);
    }
}
